how to fix value error: invalid literal for int() with base 10